import Service from '../utils/request'

class CodeApi extends Service{
	getCodeData(code){
			return this.get({url:`/api/ucenter/webChat/callback?code=${code}`})
	}
		
	getUserInfo(){
			return this.get({url:'/api/ucenter/member/auth/getLoginInfo'})
		}	
}

export default new CodeApi()